FixAltText\HelpersLibrary\Scan_Process D

Total Complexity 204
Dependencies 7
Dependents 0
Total lines 1,905
Lines of code 906
Logical lines of code 571
Comment lines 535
Methods 46
Properties 11

Methods 46

Method Rating Maintainability Complexity Lines of code
process()
C
32 26 97
try_to_start()
C
33 22 95
handle()
A
45 15 42
start()
A
38 12 68
queue()
A
45 13 40
get_group()
A
47 8 35
push_to_queue()
A
49 8 31
update()
A
51 8 26
complete()
A
43 6 51
get_queue_files()
S
57 6 16
update_progress()
S
52 5 24
get_queue_count()
S
53 5 23
display_progress_bar()
S
46 4 36
get_memory_limit()
S
56 5 17
start_admin_session()
S
56 4 17
get_queue_file()
S
61 4 13
delete()
S
62 4 12
maybe_handle()
S
58 3 16
memory_exceeded()
S
57 3 16
can_we_start()
S
61 3 12
delete_all_scan_batches()
S
55 2 20
cancel()
S
54 2 18
time_exceeded()
S
63 3 10
set_hooks()
S
52 1 30
get_post_args()
S
60 2 13
schedule_cron_healthcheck()
S
62 2 11
get_query_url()
S
68 2 7
handle_cron_healthcheck()
S
66 2 10
clear_scheduled_event()
S
71 2 6
schedule_event()
S
73 2 5
cancel_process()
S
72 2 6
lock_process()
S
68 2 6
is_process_running()
S
71 2 6
get_query_args()
S
64 2 10
__construct()
S
62 1 11
unlock_process()
S
76 1 4
get_time_limit()
S
78 1 3
get_cron_interval()
S
70 1 6
dispatch()
S
70 1 6
get_queue_file_path()
S
77 1 3
generate_key()
S
71 1 5
is_queue_empty()
S
80 1 3
get_prepend_flag()
S
82 1 3
get_identifier()
S
82 1 3
init()
S
65 1 9
get_scan_types()
S
76 1 5